home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / tspa3540.zip / TSUNTBOT.INT < prev    next >
Text File  |  1996-09-07  |  2KB  |  56 lines

  1. {$B-,D-,F-,I+,N-,R-,S+,V+}
  2.  
  3. (*
  4. Timo Salmi UNiT BOoT
  5. A Turbo Pascal unit for rebooting
  6. All rights reserved 26-Jul-93
  7.  
  8. This unit may be used and distributed freely for PRIVATE, NON-COMMERCIAL,
  9. NON-INSTITUTIONAL purposes, provided it is not changed in any way, and
  10. that a proper attribution is made. For ANY other usage, such as use in a
  11. business enterprise or at a university, contact the author for the terms
  12. of registration.
  13.  
  14. The units are under development. Comments and contacts are solicited. If
  15. you have any feedback about this unit, please do not hesitate to use
  16. electronic mail for communication.
  17.  
  18. The author shall not be liable to the user for any direct, indirect or
  19. consequential loss arising from the use of, or inability to use, any unit,
  20. program or file howsoever caused. No warranty is given that the units and
  21. programs will work under all circumstances.
  22.  
  23. Timo Salmi (email: ts@uwasa.fi WWW: http://uwasa.fi/~ts/)
  24. Professor of Accounting and Business Finance
  25. Faculty of Accounting & Industrial Management
  26. University of Vaasa
  27. P.O. BOX 700, FIN-65101 Vaasa, Finland
  28. *)
  29.  
  30. unit TSUNTBOT;
  31.  
  32. (* ======================================================================= *)
  33.                           interface
  34. (* ======================================================================= *)
  35.  
  36. uses Dos,
  37.      TSUNTH;  (* For internal processor type testing *)
  38.  
  39. (* =======================================================================
  40.                            Reboot
  41.    ======================================================================= *)
  42.  
  43. (* Reboot the computer without memory tests. Resembles alt-ctrl-del.
  44.    Inline coded. Use judiciously *)
  45. procedure WARMBOOT;
  46.  
  47. (* Reboot the computer with memory tests. Inline coded. Use judiciously *)
  48. procedure COLDBOOT;
  49.  
  50. (* Reboot the computer with file closing and cache flushing. Should
  51.    thus be more secure than WARMBOOT and COLDBOOT, but no guarantees
  52.    here either. REBOOT has many times more code than the other two
  53.    boots. For a cold reboot set argument warm to false *)
  54. procedure REBOOT (warm : boolean);
  55.  
  56.